package cn.tide.question2.service;

import cn.tide.question2.domain.Person;

import java.util.List;

public interface PersonService {

    Person findById(int id);
    void add(Person person);
    void delete(int id);

    void update(Person person);

    List<Person> findAll();
}
